package demo;

import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2025-02-24
 * Time: 10:11
 */
public class Demo7 {
    public static void main(String[] args) {
        ExecutorService Pool = Executors.newFixedThreadPool(10);
        Pool.submit(new Runnable() {
            @Override
            public void run() {
                System.out.println("Hello ThreadPool");
            }
        });
    }
}
